package com.leadingsoft.pwxk.model;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.OneToMany;

import lombok.Data;

/**
 * 
 * @author ysh
 * @desc 审批信息-水污染物排放信息审核
 */
@Data
@Entity
public class AuditWaterEmissions extends Basic {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
//	private String dataid;
	@Lob
	@Column(length=1048576)
	private String xkothercontentqc;// 全厂排放口总计备注信息
	@Lob
	@Column(length=1048576)
	private String xkothercontentss;// 设施或车间废水排放口备注信息
	@Lob
	@Column(length=1048576)
	private String xkothercontentyb;// 一般排放口备注信息
	@Lob
	@Column(length=1048576)
	private String xkothercontentzy;// 主要排放口备注信息
	@Lob
	@Column(length=1048576)
	private String xkotherzypfk;// 主要排放口备注信息
	@Lob
	@Column(length=1048576)
	private String xkotherybpfk;// 一般排放口备注信息
	@OneToMany(cascade = CascadeType.ALL)
	private List<AirDrainPermit> waterfswrwinfozylist;
	// 废水污染物排放许可限值 — 一般污染物排放口list集合
	@OneToMany(cascade = CascadeType.ALL)
	private List<AirDrainPermit> waterfswrwinfoyblist;
	// 废水污染物排放许可限值 — 设施或车间废水排放口list集合
	@OneToMany(cascade = CascadeType.ALL)
	private List<AirDrainPermit> waterfswrwinfosslist;

	// 主要排放口合计list集合
	@OneToMany(cascade = CascadeType.ALL)
	private List<AirDrainPermit> waterfswrwinfozycountlist;
	// 全厂排放口合计list集合
	@OneToMany(cascade = CascadeType.ALL)
	private List<AirDrainPermit> waterfswrwinfoqccountlist;

	@OneToMany(cascade = CascadeType.ALL)
	private List<AirDrainPermit> waterfswrwinfoybcountlist;

	// 2.全厂排放口合计list集合
	@OneToMany(cascade = CascadeType.ALL)
	private List<SpecialWaterEmissions> pwxkitemxksptswaterList;

	@Lob
	@Column(length=1048576)
	private String xkenterexplain;// 不反算说明

	// 新增按月细化明细list集合（按月细化选择是时，此集合有值。）
	@OneToMany(cascade = CascadeType.ALL)
	private List<ApplyMonth> applymonth;

}
